package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_omc_flow_message_group")
public class OmcFlowMessageGroup {
    @Id
    @Column(name = "flow_message_id")
    private Long flowMessageId;

    @Id
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 角色
     */
    private String role;

    /**
     * 变量
     */
    private String param;

    /**
     * 消息内容
     */
    private String message;

    /**
     * @return flow_message_id
     */
    public Long getFlowMessageId() {
        return flowMessageId;
    }

    /**
     * @param flowMessageId
     */
    public void setFlowMessageId(Long flowMessageId) {
        this.flowMessageId = flowMessageId;
    }

    /**
     * @return group_id
     */
    public Long getGroupId() {
        return groupId;
    }

    /**
     * @param groupId
     */
    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    /**
     * 获取角色
     *
     * @return role - 角色
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置角色
     *
     * @param role 角色
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取变量
     *
     * @return param - 变量
     */
    public String getParam() {
        return param;
    }

    /**
     * 设置变量
     *
     * @param param 变量
     */
    public void setParam(String param) {
        this.param = param;
    }

    /**
     * 获取消息内容
     *
     * @return message - 消息内容
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置消息内容
     *
     * @param message 消息内容
     */
    public void setMessage(String message) {
        this.message = message;
    }
}